package com.flower.core_service.mapper;

import com.flower.core_service.object.entity.AuthMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单权限 Mapper 接口
 * </p>
 *
 * @author flower
 * @since 2022-03-29
 */
public interface AuthMenuMapper extends BaseMapper<AuthMenu> {


    List<AuthMenu> getAllMenu();

    void updateIcon(@Param("id") String id,@Param("icon") String icon);

    List<String> selectIdListByPId(String id);
}
